/**
 * Project Name:Micro-Services-Registry-API
 * File Name   :Node.java
 * Package Name:com.micro.services.rpc.registry
 * Date:2015-9-8上午9:23:52
 * Copyright (c) 2015, http://my.oschina.net/httpssl All Rights Reserved.
 *
*/

package com.micro.services.rpc.registry;

/**
 * ClassName:Node <br/>
 * Function :TODO ADD FUNCTION. <br/>
 * Reason	:TODO ADD REASON. <br/>
 * Date     :2015-9-8 上午9:23:52 <br/>
 * @author  :http://my.oschina.net/httpssl
 * @email   :491835898@QQ.COM
 * @since   :JDK 1.7
 * @see 	 
 */
public abstract class Node
{
	/**
	 * 
	 * getData:节点存储的内容.<br/> 
	 * 
	 * 返回:byte[]
	 * @exception
	 * @since JDK 1.7
	 */
	public abstract byte[] getData();
	/**
	 * 
	 * getNodeName:在ZOOKEEPER上面的节点的名称.<br/> 
	 * 
	 * 返回:String
	 * @exception
	 * @since JDK 1.7
	 */
	public abstract String getNodeName();
	/**
	 * 
	 * getNodeTag:在ZOOKEEPER上面的节点归属类别.<br/> 
	 * 
	 * 返回:String
	 * @exception
	 * @since JDK 1.7
	 */
	public abstract String getNodeTag();
}
